Optimizing Sum, Count, Min, Max and Average with LINQ
- π
- π 498 words
- π 3 minutes
- π¦ .NET
- π·οΈ Elasticsearch, LINQ, Entity Framework, C#
- π¬ 2 responses
LINQ is a great tool for C# programmers letting you use familiar syntax with a variety of back-end systems without having to learn another language or paradigm for many query operations.
Ensuring that the queries still perform well can be a bit of a chore and one set that fails quite badly are the aggregate operations when you want more than one.